import React, { Component } from 'react'
import "./search.css"
import {withRouter} from "react-router-dom"
 class search extends Component {
    seachcenter=(params) => {
        this.props.history.push('/seachcenter')
    }
    
    render() {
        return (
            <div className="Search">
                <div className='seach-content' onClick={this.seachcenter}>
                        搜索
                </div>
            </div>
        )
    }
}
export default withRouter(search)